package com.gravata.enigma.quickaction.servicos;

import android.view.View.OnClickListener;

/**
 * Action item, displayed as menu with icon and text.
 *
 *
 *
 */
public class QuickActionIcons {
	private String title;
	private OnClickListener listener;

	/**
	 * Constructor
	 */
	public QuickActionIcons() {
	}


	/**
	 * Set action title
	 *
	 * @param title
	 *            : action title
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * Get action title
	 *
	 * @return action title
	 */
	public String getTitle() {
		return this.title;
	}


	/**
	 * Set on click listener
	 *
	 * @param listener
	 *            on click listener {View.OnClickListener}
	 */
	public void setOnClickListener(OnClickListener listener) {
		this.listener = listener;
	}

	/**
	 * Get on click listener
	 *
	 * @return on click listener {View.OnClickListener}
	 */
	public OnClickListener getListener() {
		return this.listener;
	}

}
